//startpage页面抽取的组件
import { defineComponent, ref } from 'vue';
import { Navbar } from '../shared/Navbar';
import s from './MainLayouts.module.scss';
export const MainLayouts = defineComponent({
    setup(props, context) {
        return () => (
            <div class={s.wrapper}>
                <Navbar class={s.navbar}>
                    {
                        {
                            default: () => context.slots.title?.(),
                            icon: () => context.slots.icon?.()
                        }
                    }
                </Navbar>
                {context.slots.default?.()}
            </div>
        );
    }
})